package com.wjj.sixinone.service;

import com.wjj.sixinone.common.pojo.entity.Bed;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wjj.sixinone.common.pojo.vo.BedForm;
import com.wjj.sixinone.common.pojo.vo.BedVO;
import com.wjj.sixinone.common.util.Result;
import jakarta.servlet.http.HttpServletResponse;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 小王不秃头
 * @since 2024-07-22
 */
public interface BedService extends IService<Bed> {

    Result listRoomNo();

    Result selectBedByLimit(BedVO bedVO);

    Result addBed(BedForm bedForm);

    Result updateBedById(BedForm bedForm);

    Result deleteBedById(Map<String, Integer> map);

    void uploadExcel(HttpServletResponse httpServletResponse);

    Result listBedNoByRoomNo(String roomNo);
}
